/* =========================================================
   GADGETMOBI — PRINTERS & SCANNERS CATEGORY PAGE
   Based on the uploaded GadgetMobi Apple/Product UI style
   ========================================================= */

:root{
  --orange:#dc7123;
  --orange-dark:#c65f16;
  --dark:#464646;
  --dark2:#2e2e2e;
  --cream:#f4f1ea;
  --white:#fff;
  --muted:#777;
  --border:#e9e5df;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --hover:0 22px 50px rgba(0,0,0,.14);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Poppins',sans-serif;
  color:var(--dark2);
  background:#fff;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button,input{font-family:inherit}
.container{width:min(1200px,92%);margin:auto}

/* ================= ANNOUNCEMENT ================= */

.announcement-bar{
  background:var(--dark);
  color:#fff;
  font-size:13px;
}
.announcement-content{
  min-height:38px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
}
.announcement-content span{white-space:nowrap}

/* ================= HEADER ================= */

header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(12px);
  border-bottom:1px solid #eee;
  box-shadow:0 5px 18px rgba(0,0,0,.05);
}
.navbar{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.logo{
  display:flex;
  align-items:center;
  gap:2px;
  flex-shrink:0;
}
.logo img{
  width:65px;
  height:50px;
  object-fit:contain;
}
.logo-text h2{
  font-size:30px;
  line-height:1.1;
  color:var(--dark);
}
.logo-text h2 span{color:var(--orange)}
.logo-text p{
  font-size:15px;
  color:#888;
  margin-top:4px;
}

.nav-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex:1;
}
.nav-links a{
  position:relative;
  padding:28px 14px 25px;
  color:#444;
  font-size:16px;
  font-weight:600;
  transition:.3s ease;
}
.nav-links a:hover{color:var(--orange)}
.nav-links a::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:16px;
  height:3px;
  background:var(--orange);
  border-radius:10px;
  transform:scaleX(0);
  transform-origin:center;
  transition:.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after{transform:scaleX(1)}
.nav-links a.active{color:var(--orange)}

.header-right{
  display:flex;
  align-items:center;
  gap:8px;
}
.call-btn,.whatsapp-btn,.login-btn,.cart-btn{
  width:43px;
  height:43px;
  border:0;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  cursor:pointer;
  transition:.3s;
}
.call-btn{background:var(--dark);color:#fff}
.whatsapp-btn{background:#20c96b;color:#fff}
.login-btn{background:#f1eee8;color:var(--dark)}
.cart-btn{background:var(--orange);color:#fff}
.call-btn:hover,.whatsapp-btn:hover,.login-btn:hover,.cart-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 18px rgba(0,0,0,.15);
}
.cart-btn span{
  position:absolute;
  top:-5px;
  right:-4px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:20px;
  background:#222;
  color:#fff;
  font-size:10px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ================= HERO ================= */

.printer-hero{
  position:relative;
  min-height:545px;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 85% 20%,rgba(255,255,255,.15),transparent 30%),
    linear-gradient(135deg,#3f3f3f,#565656 48%,var(--orange));
}
.printer-hero:before{
  content:"";
  position:absolute;
  width:450px;
  height:450px;
  right:-190px;
  bottom:-220px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
}
.hero-ring{
  position:absolute;
  width:300px;
  height:300px;
  right:8%;
  top:12%;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
}
.printer-hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:60px;
  align-items:center;
}
.hero-content{max-width:680px}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 17px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50px;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(10px);
  font-size:13px;
  font-weight:600;
}
.hero-badge i{color:#ffb56d}
.hero-content h1{
  margin:20px 0;
  font-size:57px;
  line-height:1.1;
  font-weight:700;
}
.hero-content h1 span{color:#ffb56d}
.hero-content>p{
  max-width:650px;
  color:rgba(255,255,255,.88);
  font-size:17px;
  line-height:1.9;
}
.hero-buttons{
  display:flex;
  gap:14px;
  margin-top:30px;
  flex-wrap:wrap;
}
.btn-primary,.btn-secondary{
  min-height:50px;
  padding:13px 26px;
  border-radius:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:600;
  transition:.3s;
}
.btn-primary{
  background:#fff;
  color:var(--orange);
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}
.btn-secondary{
  color:#fff;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.4);
}
.btn-primary:hover,.btn-secondary:hover{transform:translateY(-4px)}
.btn-secondary:hover{background:#fff;color:var(--orange)}

.hero-features{
  display:flex;
  gap:28px;
  margin-top:30px;
  flex-wrap:wrap;
}
.hero-features div{
  display:flex;
  align-items:center;
  gap:7px;
  color:rgba(255,255,255,.9);
  font-size:13px;
}
.hero-features i{color:#ffc07f}

.hero-visual{
  display:flex;
  justify-content:center;
  align-items:center;
}
.printer-icon-card{
  width:min(300px,80%);
  height:300px;
  border-radius:40px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 25px 50px rgba(0,0,0,.18);
  backdrop-filter:blur(8px);
  animation:floatPrinter 4s ease-in-out infinite;
}
.printer-icon{
  font-size:110px;
  color:#fff;
  line-height:1;
  margin-bottom:22px;
}
.printer-icon-card strong{
  letter-spacing:8px;
  font-size:20px;
}
.printer-icon-card>span{
  margin-top:5px;
  color:#ffb56d;
  font-size:17px;
  font-weight:700;
  letter-spacing:6px;
}
@keyframes floatPrinter{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}

/* ================= GENERAL ================= */

.section-title{
  text-align:center;
  margin-bottom:38px;
}
.section-title>span{
  display:inline-block;
  margin-bottom:7px;
  color:var(--orange);
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.6px;
}
.section-title h2{
  font-size:34px;
  color:var(--dark);
  margin-bottom:7px;
}
.section-title p{
  font-size:14px;
  color:var(--muted);
}

/* ================= CATEGORIES ================= */

.categories-section{
  padding:85px 0;
  background:var(--cream);
}
.category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.category-card{
  min-height:205px;
  padding:28px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow);
  transition:.35s;
}
.category-card:hover{
  transform:translateY(-8px);
  border-color:rgba(220,113,35,.35);
  box-shadow:var(--hover);
}
.category-icon{
  width:68px;
  height:68px;
  margin-bottom:14px;
  border-radius:19px;
  background:rgba(220,113,35,.1);
  color:var(--orange);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  transition:.3s;
}
.category-card:hover .category-icon{
  background:var(--orange);
  color:#fff;
}
.category-card h3{
  font-size:19px;
  color:var(--dark);
}
.category-card p{
  margin-top:3px;
  font-size:13px;
  color:#888;
}

/* ================= BRANDS ================= */

.brands-section{
  padding:85px 0;
  background:#fff;
}
.brand-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.brand-card{
  min-height:165px;
  padding:25px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow);
  transition:.35s;
}
.brand-card:hover{
  transform:translateY(-7px);
  box-shadow:var(--hover);
}
.brand-card i{
  width:60px;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
  border-radius:18px;
  background:rgba(220,113,35,.1);
  color:var(--orange);
  font-size:25px;
}
.brand-card h3{
  color:var(--dark);
  font-size:20px;
}
.brand-card p{
  color:#888;
  font-size:12px;
  margin-top:2px;
}

/* ================= PRODUCTS ================= */

.products-section{
  padding:85px 0 90px;
  background:var(--cream);
}
.search-box{
  width:min(760px,100%);
  height:56px;
  margin:-5px auto 42px;
  position:relative;
}
.search-box i{
  position:absolute;
  left:20px;
  top:50%;
  transform:translateY(-50%);
  color:var(--orange);
  font-size:16px;
}
.search-box input{
  width:100%;
  height:100%;
  padding:0 20px 0 50px;
  border:1px solid var(--border);
  border-radius:15px;
  outline:none;
  background:#fff;
  color:var(--dark2);
  box-shadow:0 8px 25px rgba(0,0,0,.05);
  font-size:14px;
  transition:.25s;
}
.search-box input:focus{
  border-color:var(--orange);
  box-shadow:0 0 0 4px rgba(220,113,35,.1);
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.product-card{
  position:relative;
  overflow:hidden;
  min-width:0;
  background:#fff;
  border:1px solid #ececec;
  border-radius:22px;
  box-shadow:var(--shadow);
  transition:.35s;
}
.product-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--hover);
}
.product-icon{
  height:215px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fafafa;
  color:var(--orange);
  font-size:80px;
  transition:.35s;
}
.product-card:hover .product-icon{
  background:#fff8f2;
  transform:scale(1.03);
}
.product-content{
  padding:20px;
}
.product-content small{
  color:var(--orange);
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
}
.product-content h3{
  min-height:50px;
  margin:6px 0 7px;
  color:var(--dark);
  font-size:18px;
}
.product-content p{
  min-height:48px;
  color:#777;
  font-size:13px;
  line-height:1.7;
}
.product-content strong{
  display:block;
  margin:12px 0;
  color:#555;
  font-size:12px;
}
.product-content button{
  width:100%;
  padding:12px;
  border:0;
  border-radius:11px;
  background:linear-gradient(135deg,var(--dark),#333);
  color:#fff;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}
.product-content button:hover{
  background:linear-gradient(135deg,var(--orange),#dc7123);
  transform:translateY(-2px);
}
.product-badge,.sale-badge{
  position:absolute;
  top:14px;
  z-index:3;
  padding:6px 11px;
  border-radius:30px;
  color:#fff;
  font-size:10px;
  font-weight:700;
}
.product-badge{
  left:14px;
  background:var(--dark);
}
.sale-badge{
  right:14px;
  background:linear-gradient(135deg,var(--orange),#ef9145);
  box-shadow:0 5px 15px rgba(220,113,35,.3);
}
.empty-state{
  display:none;
  text-align:center;
  padding:45px 20px;
  color:#777;
}
.empty-state i{
  color:var(--orange);
  font-size:35px;
  margin-bottom:12px;
}
.empty-state h3{
  color:var(--dark);
  margin-bottom:5px;
}

/* ================= WHY US ================= */

.why-us{
  padding:85px 0;
  background:#fff;
}
.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.why-card{
  padding:30px 20px;
  text-align:center;
  background:#fff;
  border:1px solid var(--border);
  border-radius:21px;
  box-shadow:var(--shadow);
  transition:.35s;
}
.why-card:hover{
  transform:translateY(-7px);
  box-shadow:var(--hover);
}
.why-icon{
  width:64px;
  height:64px;
  margin:0 auto 15px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(220,113,35,.1);
  color:var(--orange);
  font-size:27px;
}
.why-card h3{
  font-size:18px;
  color:var(--dark);
  margin-bottom:7px;
}
.why-card p{
  font-size:13px;
  color:#777;
  line-height:1.7;
}

/* ================= NEWSLETTER ================= */

.newsletter{
  padding:80px 0;
  background:var(--cream);
}
.newsletter-box{
  display:grid;
  grid-template-columns:1fr .9fr;
  align-items:center;
  gap:35px;
  padding:48px 40px;
  border-radius:27px;
  color:#fff;
  background:linear-gradient(135deg,#464646,var(--orange));
  box-shadow:0 20px 45px rgba(0,0,0,.13);
}
.newsletter-box>div>span{
  font-size:11px;
  font-weight:700;
  letter-spacing:.6px;
}
.newsletter-box h2{
  font-size:30px;
  margin:8px 0;
}
.newsletter-box p{
  font-size:13px;
  color:rgba(255,255,255,.82);
  line-height:1.7;
}
.newsletter-box form{
  display:flex;
  gap:9px;
}
.newsletter-box input{
  flex:1;
  min-height:50px;
  padding:12px 15px;
  border:0;
  border-radius:11px;
  outline:0;
}
.newsletter-box button{
  min-width:125px;
  border:0;
  border-radius:11px;
  background:#fff;
  color:var(--orange);
  font-weight:700;
  cursor:pointer;
  transition:.3s;
}
.newsletter-box button:hover{transform:translateY(-3px)}

/* ================= FOOTER ================= */

.footer{
  padding:60px 0 23px;
  background:#292929;
  color:#fff;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.2fr;
  gap:35px;
}
.footer-logo{
  font-size:27px;
  margin-bottom:12px;
}
.footer-logo span{color:var(--orange)}
.footer-col>p,
.footer-col li,
.footer-col li a{
  color:#aaa;
  font-size:13px;
  line-height:1.8;
}
.footer-col h3{
  font-size:17px;
  margin-bottom:14px;
}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:7px}
.footer-col li i{
  width:20px;
  color:var(--orange);
}
.footer-social{
  display:flex;
  gap:8px;
  margin-top:18px;
}
.footer-social a{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#3a3a3a;
  transition:.3s;
}
.footer-social a:hover{
  background:var(--orange);
  transform:translateY(-3px);
}
.footer hr{
  border:0;
  border-top:1px solid #444;
  margin:35px 0 20px;
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.footer-bottom p,
.footer-links a{
  font-size:11px;
  color:#888;
}
.footer-links{
  display:flex;
  gap:18px;
}
.footer-links a{
  position:relative;
}
.footer-links a:after{
  content:"";
  position:absolute;
  left:0;
  bottom:-5px;
  width:0;
  height:2px;
  background:var(--orange);
  transition:.3s;
}
.footer-links a:hover:after{width:100%}

/* ================= RESPONSIVE ================= */

@media(max-width:1050px){
  .nav-links a{
    padding:9px 7px;
    font-size:13px;
  }
  .logo-text h2{font-size:25px}
  .logo-text p{font-size:12px}
  .printer-hero-grid{gap:35px}
  .hero-content h1{font-size:47px}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .brand-grid{grid-template-columns:repeat(2,1fr)}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:768px){
  .announcement-content{
    gap:8px 18px;
    font-size:11px;
  }
  .navbar{
    min-height:75px;
    flex-wrap:wrap;
    padding:8px 0;
  }
  .logo img{
    width:52px;
    height:43px;
  }
  .logo-text h2{font-size:21px}
  .logo-text p{font-size:9px;margin-top:2px}
  .nav-links{
    order:3;
    width:100%;
    overflow-x:auto;
    justify-content:flex-start;
    scrollbar-width:none;
  }
  .nav-links::-webkit-scrollbar{display:none}
  .nav-links a{
    flex-shrink:0;
    font-size:12px;
    padding:8px 10px;
  }
  .nav-links a:after{
    left:10px;
    right:10px;
    bottom:2px;
  }
  .header-right{margin-left:auto}
  .call-btn,.whatsapp-btn,.login-btn,.cart-btn{
    width:37px;
    height:37px;
  }

  .printer-hero{
    min-height:auto;
    padding:65px 0;
  }
  .printer-hero-grid{
    grid-template-columns:1fr;
    gap:45px;
  }
  .hero-content{text-align:center}
  .hero-content h1{font-size:36px}
  .hero-content>p{font-size:14px}
  .hero-buttons{
    flex-direction:column;
  }
  .btn-primary,.btn-secondary{width:100%}
  .hero-features{
    justify-content:center;
    gap:15px;
  }
  .hero-visual{order:-1}
  .printer-icon-card{
    width:220px;
    height:220px;
    border-radius:30px;
  }
  .printer-icon{font-size:75px;margin-bottom:14px}
  .printer-icon-card strong{font-size:15px;letter-spacing:5px}
  .printer-icon-card>span{font-size:13px;letter-spacing:4px}

  .categories-section,.brands-section,.products-section,.why-us,.newsletter{
    padding:65px 0;
  }
  .section-title{margin-bottom:30px}
  .section-title h2{font-size:27px}
  .section-title p{font-size:13px}

  .category-grid,
  .brand-grid,
  .product-grid,
  .why-grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .category-card{min-height:175px}
  .product-icon{height:210px}

  .newsletter-box{
    grid-template-columns:1fr;
    padding:40px 22px;
    text-align:center;
  }
  .newsletter-box form{flex-direction:column}
  .newsletter-box input,
  .newsletter-box button{
    width:100%;
    min-height:50px;
  }

  .footer-grid{grid-template-columns:1fr;gap:30px}
  .footer-bottom{
    flex-direction:column;
    text-align:center;
  }
  .footer-links{justify-content:center;flex-wrap:wrap}
}

@media(max-width:480px){
  .announcement-content span:nth-child(n+2){display:none}
  .logo-text p{display:none}
  .header-right{gap:4px}
  .call-btn,.whatsapp-btn,.login-btn,.cart-btn{
    width:35px;
    height:35px;
  }
  .hero-content h1{font-size:31px}
  .hero-features{
    flex-direction:column;
    align-items:center;
  }
  .section-title h2{font-size:24px}
  .search-box{height:52px}
  .product-content h3{min-height:auto}
}
